import * as type from './mutation_type'
import * as func from '../function'

export default {
  [type.SWITCH_THEME] (states, obj) {
    states.theme = obj.theme
    func.lvTheme.set(states)
  }
}
